package com.loser.module.sql;


public class UserSummary {
    private Integer age;
    private String name;
    private Double sumAge;
    private Double avgAge;
    private Integer countAge;
    private Integer minAge;
    private Integer maxAge;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getMinAge() {
        return minAge;
    }

    public void setMinAge(Integer minAge) {
        this.minAge = minAge;
    }

    public Integer getMaxAge() {
        return maxAge;
    }

    public void setMaxAge(Integer maxAge) {
        this.maxAge = maxAge;
    }

    public Double getSumAge() {
        return sumAge;
    }

    public void setSumAge(Double sumAge) {
        this.sumAge = sumAge;
    }

    public Double getAvgAge() {
        return avgAge;
    }

    public void setAvgAge(Double avgAge) {
        this.avgAge = avgAge;
    }

    public Integer getCountAge() {
        return countAge;
    }

    public void setCountAge(Integer countAge) {
        this.countAge = countAge;
    }

    @Override
    public String toString() {
        return "UserSummary{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", sumAge=" + sumAge +
                ", avgAge=" + avgAge +
                ", countAge=" + countAge +
                ", minAge=" + minAge +
                ", maxAge=" + maxAge +
                '}';
    }
}
